package db

import "temp/model"

// ModelRegistry 模型注册表
var ModelRegistry []interface{}

// RegisterModel 注册模型
func RegisterModel(model ...interface{}) {
	ModelRegistry = append(ModelRegistry, model...)
}

func init() {
	RegisterModel(&model.User{}, &model.Company{}, &model.Department{})
}
